﻿using System;

namespace Confluxx.Common.Logging.Core.Loggers
{
	public class ConsoleLogger: ILogger
	{
		public bool Enabled { get; set; }

		public void EnterMethod(string methodName)
		{
			Console.WriteLine(string.Format("Enter method: {0}", methodName));
		}

		public void LeaveMethod(string methodName)
		{
			Console.WriteLine(string.Format("Leave method: {0}", methodName));
		}

		public void LogMessage(string message)
		{
			Console.WriteLine(string.Format("Message: {0}", message));
		}
	}
}